package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 搜索热词对象 search_hot_key
 * 
 * @author ruoyi
 * @date 2021-09-30
 */
public class SearchHotKey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 链接 */
    @Excel(name = "链接")
    private String link;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 序号 */
    @Excel(name = "序号")
    private Integer order;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Integer visible;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrder(Integer order) 
    {
        this.order = order;
    }

    public Integer getOrder() 
    {
        return order;
    }
    public void setVisible(Integer visible) 
    {
        this.visible = visible;
    }

    public Integer getVisible() 
    {
        return visible;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("link", getLink())
            .append("name", getName())
            .append("order", getOrder())
            .append("visible", getVisible())
            .toString();
    }
}
